﻿<%@ control language="C#" autoeventwireup="true" inherits="UserControls_2_SoanTinNhan, App_Web_ktdrx0ti" %>


    <style type="text/css">
        .auto-style1
        {
            color: #FF0000;
        }
        .auto-style8
        {
            width: 140px;
        }
        .auto-style9
        {
        }
        .auto-style10
        {
            height: auto;
        }
    </style>


    <body style="text-align: left">

    <form id="form2" runat="server">
                <table style="width:inherit; height: inherit;">
                    <tr>
                        <td class="auto-style10" colspan="2">
                <asp:RadioButton ID="cgThongBaoKQ" runat="server" OnCheckedChanged="RadioButton1_CheckedChanged" Text="Thông báo kết quả học tập" AutoPostBack="True" />
                <br />
                <asp:RadioButton ID="cgThongBaoTKB" runat="server" OnCheckedChanged="RadioButton2_CheckedChanged" Text="Thông báo thời khóa biểu" AutoPostBack="True" />
                <br />
                <asp:RadioButton ID="cgThongBaoTuyChinh" runat="server" OnCheckedChanged="RadioButton3_CheckedChanged" Text="Thông báo tùy chỉnh" AutoPostBack="True" />
                        </td>
                        <td class="auto-style10" style="height: inherit">
                <asp:TextBox ID="txtTuyChinh" runat="server" Height="182px" TextMode="MultiLine" Width="345px" Visible="False" style="margin-left: 0px"></asp:TextBox>
                            <asp:Label ID="Label2" runat="server" style="color: #CC3300" Text="Mời chọn kỳ ( chọn 0 để lấy kết quả tổng hợp): " Visible="False"></asp:Label>
                            <asp:DropDownList ID="lstNhhk" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" Visible="False">
                            </asp:DropDownList>
                            <asp:Label ID="lblNamHoc" runat="server" style="color: #CC3300"></asp:Label>
                            <asp:DropDownList ID="lstTuan" runat="server" Visible="False">
                                <asp:ListItem Value="TUAN_NAY">Tuần hiện tại</asp:ListItem>
                                <asp:ListItem Value="TUAN_SAU">Tuần sau</asp:ListItem>
                                <asp:ListItem Value="TUAN_ALL">Cả kỳ</asp:ListItem>
                            </asp:DropDownList>
                            <br />
                        </td>
                        <td class="auto-style10">
                <asp:Label ID="Label1" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style8">&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>
                <span class="auto-style1"><strong style="text-align: center">
                    <center>
                        <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="Quay lại Chọn Người Nhận" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Bước 2: Xác nhận gửi" />
                            <br />
                            <br />
                            Danh sách sinh viên nhận tin nhắn</strong></span></td></center>
                            
                        <td>&nbsp;</td>
                    </tr>
                    <tr>
                        <td class="auto-style8">&nbsp;</td>
                        <td class="auto-style9" colspan="3">
                            <asp:GridView ID="GridView1" runat="server" EmptyDataText="Không có bản ghi nào" AllowPaging="True" AutoGenerateColumns="False" BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px" CellPadding="4" DataSourceID="SMSWebDataSource" EnableModelValidation="True" ForeColor="Black" GridLines="Vertical" PageSize="20" Width="462px" DataKeyNames="tempID" style="text-align: center; margin-left: 0px; margin-right: 68px;">
                        <AlternatingRowStyle BackColor="White" />
                        <Columns>
                            <asp:BoundField DataField="MaSV" HeaderText="Mã SV" SortExpression="MaSV" />
                            <asp:BoundField DataField="HoTenSV" HeaderText="Họ tên" SortExpression="HoTenSV">
                            </asp:BoundField>
                            <asp:BoundField DataField="SoDT" HeaderText="Điện thoại" SortExpression="SoDT" />
                        </Columns>
                        <FooterStyle BackColor="#CCCC99" />
                        <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                                <PagerSettings Mode="NumericFirstLast" Position="TopAndBottom" />
                        <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                        <RowStyle BackColor="#F7F7DE" />
                        <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                    </asp:GridView>

        
                        </td>
                    </tr>
                </table>
                <br />
                <br />
                <br />
        <asp:TextBox ID="TextBox2" runat="server" Visible="False"></asp:TextBox>
        <br />

        
    </form>
                    <asp:SqlDataSource ID="SMSWebDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:SMSWebConnectionString %>" SelectCommand="SELECT * FROM [tbl_1_ChonNguoiNhan] WHERE ([MaND] = @MaND)" OldValuesParameterFormatString="original_{0}">
                        <SelectParameters>
                            <asp:ControlParameter ControlID="TextBox2" Name="MaND" PropertyName="Text" Type="String" />
                        </SelectParameters>
                    </asp:SqlDataSource>
    <table style="width:100%;">
        <tr>
            <td class="auto-style1" style="top: 0px; clip: rect(0px, auto, auto, auto); text-align: left;">
                &nbsp;</td>
        </tr>
    </table>

                